<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page import="java.util.Calendar"%>
<div id="find" class="col-xs-12">
	<div>
		<ol class="breadcrumb">
			<li><a href="/Reservation/main/index.res">홈</a></li>
			<li><strong>아이디/비밀번호 찾기</strong></li>
		</ol>
	</div>
	<div class="row">
		<div class="col-xs-6">
			<div class="page-header">
				<h3>아이디 찾기</h3>
				<small>가입시 등록한 정보로 아이디를 찾을 수 있습니다.</small>
			</div>
			<form id="findUserIdForm" class="form-inline">
				<table>
					<tr>
						<th><label for="name">이름</label></th>
						<td><input type="text" class="form-control input-sm"
							name="fiUserId" id="fiUserId"></td>
					</tr>
					<tr>
						<th><label for="birth">생년월일</label></th>
						<td><select class="form-control input-sm" name="year"
							id="year">
								<c:forEach var="birthY" begin="${ year - 100 }"
									end="${ year - 1 }">
									<c:if test="${ birthY eq 1980 }">
										<option selected>${ birthY }</option>
									</c:if>
									<c:if test="${ birthY ne 1980 }">
										<option>${ birthY }</option>
									</c:if>
								</c:forEach>
						</select> 년&nbsp;&nbsp; <select class="form-control input-sm" name="month"
							id="month">
								<c:forEach var="birthM" begin="01" end="12">
									<option>${ birthM }</option>
								</c:forEach>
						</select> 월&nbsp;&nbsp; <select class="form-control input-sm" name="day"
							id="day">
								<c:forEach var="birthD" begin="01" end="31">
									<option>${ birthD }</option>
								</c:forEach>
						</select> 일 <br />
					</tr>
				</table>
			</form>
			<div>
				<button type="button" class="btn btn-primary" id="findUserId">아이디
					찾기</button>
			</div>
		</div>
		<div class="col-xs-6">
			<div class="page-header">
				<h3>비밀번호 찾기</h3>
				<small>가입시 등록한 정보와 아이디로 비밀번호를 찾을 수 있습니다.</small>
			</div>
			<form id="findPasswdForm" class="form-inline">
				<table>
					<tr>
						<th><label for="fpUserId">아이디</label></th>
						<td><input type="text" class="form-control input-sm"
							id="fpUserId" name="fpUserId" /></td>
					</tr>
					<tr>
						<th><label for="question">비밀번호 분실 시 질문</label></th>
						<td><select class="form-control input-sm" name="question"
							id="question">
								<option>질문을 선택하세요</option>
								<option>인상 깊게 읽은 책 이름은?</option>
								<option>자신의 보물 제1호는?</option>
								<option>기억에 남는 추억의 장소는?</option>
								<option>자신의 인생 좌우명은?</option>
								<option>가장 친한 친구 이름은?</option>
								<option>가장 좋아하는 색깔은?</option>
						</select></td>
					</tr>
					<tr>
						<th><label for="answer">비밀번호 분실 시 답</label></th>
						<td><input type="text" class="form-control input-sm"
							name="answer" id="answer" /></td>
					</tr>
				</table>
			</form>
			<div>
				<button type="button" class="btn btn-primary" id="findPasswd">비밀번호
					찾기</button>
			</div>
		</div>
	</div>
</div>